import instance from '@/until/http'

// 获取新闻列表
export const getNewsList = async () => {
  let result = await instance.get('/list')
  return result
}

// 删除项目
export const deleteProjectById = async (id: number) => {
  let result = await instance.delete('/weixin/deleteProject/' + id)
  return result.data
}